﻿#region using
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Caching;
using System.Collections.Generic;

#endregion

namespace PM2.Home.Abstract
{
     public abstract class BaseHomeSource : IHomeSource
     {
          public YAMLConfig YAMLConfig { get; }

          public BaseHomeSource(IHomeConfig config)
          {
               this.YAMLConfig = config.YAMLConfig;
		  }

          /// <summary>
          /// 模板: 数据加载
          /// </summary>
          /// <returns></returns>
          public abstract Task<IHomeModel> LoadAsync();

     }

}

